package org.courierframework.core.handler;

import org.courierframework.core.search.Pagination;
import org.courierframework.core.search.Searchable;

import java.io.Serializable;

/**
 * @author long.shiyu
 * @since 1.7
 */
public interface PaginationHandler<T, ID extends Serializable> extends CrudHandler<T, ID> {
    Pagination<T> findBySearch(Searchable<T> searchable);
}
